package en.edu.zucc.pb.loginapplication.entity;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

import java.util.Date;

import lombok.ToString;

//import lombok.Data;
//
//@Data
//支出还是收入
@Entity
@ToString
public class Record implements en.edu.zucc.pb.loginapplication.dao.Entity {
    public static final String TABLE_NAME  = "Record";
    @PrimaryKey(autoGenerate = true)
    Long id;
    //    String  title;
    Double money;
//    Date date;
    Long dateStamp;
    String place;

    //    Integer icon;
    String memo;
    String pic;
    Long typeId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Long getDateStamp() {
        return dateStamp;
    }

    public void setDateStamp(Long dateStamp) {
        this.dateStamp = dateStamp;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

}
